﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="login.ascx.cs" Inherits="usercontrol_login" %>


<asp:Panel ID="Panel1" runat="server">
    <table style="width: 100%;">
        <tr>
            <td colspan="3">
                <div class="title">
                    <span class="title_icon">
                        <img src="images/Profile.ico" alt="" title="" height="25" width="25" /></span>Đăng
                    Nhập</div>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:Label ID="lberro" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Tên Đăng Nhập:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="80%"></asp:TextBox>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="Mật Khẩu"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="80%"></asp:TextBox>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/register.aspx">Đăng Ký</asp:HyperLink>
            </td>
            <td align="right" style="padding-right: 37px">
                <asp:Button ID="Button1" runat="server" Text="Đăng Nhập" 
                    OnClick="Button1_Click" CausesValidation="False" />
            </td>
            <td align="left" style="padding-right: 30%">
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Visible="True">
    <table style="width: 100%;">
        <tr>
            <td width="100" colspan="3">
                <div class="title">
                    <span class="title_icon">
                        <img src="images/Profile.ico" alt="" title="" height="25" width="25" /></span>Thông
                    Tin Tài Khoản</div>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td width="100">
                <asp:Label ID="Label3" runat="server" Text="Chào bạn:"></asp:Label>
            </td>
            <td>
                <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/user.aspx?cm=edit">Thay đổi thông tin</asp:HyperLink>
            </td>
            <td class="style1">
                <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/user.aspx?cm=pass">Đổi Mật Khẩu</asp:HyperLink>
            </td>
            <td class="style1">
                <asp:Button runat="server" Text="Đăng Xuất" ID="btDangXuat" 
                    CausesValidation="False"  />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td align="right" style="padding-right: 37px">
                &nbsp;
            </td>
            <td align="left" style="padding-right: 30%">
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Panel>
